	<div id="areaDiv<%=key%>">
		<div class="ui-state-default ui-corner-all">
		<form model="area" id="updateAreaForm<%=key%>" key="<%=key%>">
		<input type="hidden" name="key" value="<%=key%>"/>
		<input type="hidden" name="city" value="<%=city%>"/>
		<input type="hidden" name="area" value="<%=name%>"/>
		<input type="hidden" name="startDate" value="<%=startDate%>"/>
		<input type="hidden" name="endDate" value="<%=endDate%>"/>
		</form>
		<table>
			<tr>
				<td><a id="toggle<%=key%>" toggleDivId="area<%=key%>" class="toggle ui-icon ui-icon-circle-triangle-e"></a></td>
				<td nowrap width="100%" class="title">
					City: 
					<font id="<%=key%>area" fieldName="city" area="<%=key%>" class="editArea<%=key%>"><%=city%></font> 
					/ Area: 
					<font id="<%=key%>name" area="<%=key%>" fieldName="name" class="editArea<%=key%>">
					<% if (name) { %>
					<%=name%>
					<% }  else { %>
					[None]
					<% } %> 
					</font>
				</td>
				<td nowrap><button id="addHotel<%=key%>" class="addHotel" area="<%=key%>">Add hotel</button></td>
				<td nowrap><button id="deleteArea<%=key%>" class="deleteArea" area="<%=key%>">X</button></td>
			</tr>
		</table>
		<table>
			<tr>
				<td>
				<div id="area<%=key%>">
					<table>
						<tr>
							<td>From:<input class="text ui-widget-content ui-corner-all" type="text" value="<%=startDate%>"
								id="datepickerStart<%=key%>" area="<%=key%>"> 
								To:<input class="text ui-widget-content ui-corner-all" type="text"
								value="<%=endDate%>" id="datepickerEnd<%=key%>" area="<%=key%>"></td>
						</tr>
						<tr>
							<td>
								<table class="hotelTable" id="hotelTable<%=key%>">
									<thead>
										<tr>
											<th class="ui-state-active">ID</th>
											<th class="ui-state-active"><font class="ui-icon ui-icon-flag"></font></th>
											<th class="ui-state-active" id="price">Price</th>
											<th class="ui-state-active" id="name" width="100%">Name</th>
											<th class="ui-state-active">Links</th>
											<th class="ui-state-active"><font class="ui-icon ui-icon-notice"></font></th>
											<th class="ui-state-active"><font class="ui-icon ui-icon-check"></font></th>
											<th class="ui-state-active" id="comment">Comments</th>
											<th class="ui-state-active">&nbsp;</th>
											<th class="ui-state-active">&nbsp;</th>
										</tr>
									</thead>
									<tbody id="hotelTableRows<%=key%>">
									</tbody>
								</table>
							</td>
						</tr>
					</table>
				</div>
			</td>
		</tr>
	</table>
	</div>
	</div>
	<br>